package day3.HomeWork;

public class Student extends Person {
    private String id;
    private double score;
    public void study(){
        System.out.println(getName() + " is studying.");
    }

    public Student() {
    }

    public Student(String name, int age, String id, double score) {
        super(name, age);
        this.id = id;
        this.score = score;
    }




}
